<?php include_once 'header.php'; ?>


<script>
    var wAlert = window.alert;
    window.alert = function (message) {
        try {
            var iframe = document.createElement("IFRAME");
            iframe.style.display = "none";
            iframe.setAttribute("src", 'data:text/plain,');
            document.documentElement.appendChild(iframe);
            var alertFrame = window.frames[0];
            var iwindow = alertFrame.window;
            if (iwindow == undefined) {
                iwindow = alertFrame.contentWindow;
            }
            iwindow.alert(message);
            iframe.parentNode.removeChild(iframe);
        }
        catch (exc) {
            return wAlert(message);
        }
    }

    function  self_alert(mesages){
        alert(message);
    }
</script>
<body data-controller="accountPayNewController">

<form method="post" action="/account/paySure">
    <input  type="hidden" name="amount" id = "amount" value="5000" />
    <table class="stacksTable">
        <tr>
            <td><a data-stake="5000" class="button_tap weui_btn weui_btn_plain_primary">50 元</a></td>
            <td><a data-stake="10000" class="button_tap weui_btn weui_btn_plain_default">100 元</a></td>
            <td><a data-stake="20000" class="button_tap weui_btn weui_btn_plain_default">200 元</a></td>
        </tr>
        <tr>
            <td><a data-stake="50000" class="button_tap weui_btn weui_btn_plain_default">500 元</a></td>
            <td><a data-stake="100000" class="button_tap weui_btn weui_btn_plain_default">1000 元</a></td>
            <td><a data-stake="200000" class="button_tap weui_btn weui_btn_plain_default">2000 元</a></td>
        </tr>
        <tr>
            <td><a data-stake="500000" class="button_tap weui_btn weui_btn_plain_default">5000 元</a></td>
            <td><a data-stake="800000" class="button_tap weui_btn weui_btn_plain_default">8000 元</a></td>
            <td><a data-stake="1000000" class="button_tap weui_btn weui_btn_plain_default">10000 元</a></td>
        </tr>
    </table>
   

    <div class="weui_cells_title">请选择充值渠道</div>
    <select class="weui_cells weui_cells_radio weui_cell weui_check_label" style="width:100%;" name="way">
       <option value="weixin">微信支付</option>
       <option value="alipay">支付宝</option>
    </select>


    <div class="weui_btn_area">
        <a href="javascript:app.instance.controller.clickedSubmit();" class="weui_btn weui_btn_primary">确认</a>
    </div>
</form>


<?php include_once 'footer.php'; ?>
